package com.zyg.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 基础树形对象
 * @param <T>
 */
@Data
public class BaseTreeModel<T> implements Serializable {

    private String id;
    private String parentId;
    private String name;
    private List<T> children;

}
